<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="css/login.css">
</head>
<body>
<div class="login">
    <form action="/login" method="post">
        <h2>登录</h2>
        <div class="login_form">
            <span th:text="${msg}"></span>
            <br>
            <span>用户名：</span>
            <input type="text" placeholder="请输入用户名" name="userName">
            <br>
            <span>密码：</span>
            <input type="password" placeholder="请输入密码" name="userPassword">
        </div>
        <input type="submit" value="登录" class="login_btn">
    </form>
    <form action="/registerBtn" method="post">
        <input type="submit" value="注册" class="login_btn">
    </form>
</div>
</body>

</html>

